package com.wetsion.securityoauthdemo.rmsclient.web;

import com.alibaba.fastjson.JSONObject;
import com.wetsion.securityoauthdemo.rmsclient.feign.RmsFeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author weixin
 * @version 1.0
 * @CLassName TestFeign
 * @date 2019/3/11 3:43 PM
 */
@RmsFeignClient("testFeign")
public interface TestFeign {

    @GetMapping(value = "http://localhost:9001/rms/oauth/resources")
    JSONObject getResources(String name);
}
